package com.chaopei.provider_server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

import java.util.logging.Logger;

@SpringBootApplication
@EnableEurekaClient//服务提供者
public class ProviderServerApplication {
   static Logger logger = Logger.getLogger("provider");
    public static void main(String[] args) {
        SpringApplication.run(ProviderServerApplication.class, args);
        logger.info("服务提供者8090已启动!");
    }

}
